﻿using BCDto.Sim.Admin.AdminSpecificPermission;
using System.Collections.Generic;

namespace BCService.Sim.Admin.AdminSpecificPermissionService
{
    /// <summary>
    /// 管理员特殊权限服务
    /// </summary>
    public interface IAdminSpecificPermissionService
    {
        /// <summary>
        /// 获取管理员特殊权限
        /// </summary>
        /// <param name="adminSpecificPermissionId">管理员特殊权限Id</param>
        /// <returns></returns>
        AdminSpecificPermissionDto Get(int adminSpecificPermissionId);
        /// <summary>
        /// 获取管理员特殊权限
        /// </summary>
        /// <param name="extensionPermissionKey">特殊权限Key</param>
        /// <returns></returns>
        AdminSpecificPermissionDto Get(string extensionPermissionKey);
        /// <summary>
        /// 获取管理员特殊权限列表
        /// </summary>
        /// <returns></returns>
        IEnumerable<AdminSpecificPermissionDto> List();
    }
}
